package com.hockeo.tinygds.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.google.appengine.api.datastore.Blob;
import com.google.appengine.api.datastore.ShortBlob;

/**
 * Indicates that a byte[] array field should be saved as GAE {@link ShortBlob}. If not
 * present, byte[] arrays are saved as {@link Blob} instances.
 *
 * @version $Id$
 * @author jjanke
 */
@Retention( RetentionPolicy.RUNTIME )
@Target( { ElementType.FIELD } )
public @interface TShortBlob
{

}
